Automattic\Jetpack\WP_JS_Data_Sync\Schema\Schema S

Total Complexity 34
Dependencies 16
Dependents 1
Total lines 204
Lines of code 99
Logical lines of code 50
Comment lines 71
Methods 20
Properties 3

Methods 20

Method Rating Maintainability Complexity Lines of code
parse()
A
50 8 27
process_schema()
A
57 8 16
as_boolean()
S
80 1 3
describe()
S
74 1 4
as_unsafe_any()
S
80 1 3
as_void()
S
80 1 3
any_json_data()
S
80 1 3
enum()
S
79 1 3
as_float()
S
79 1 3
as_number()
S
80 1 3
__construct()
S
81 1 3
set_meta()
S
77 1 4
as_array()
S
79 1 3
as_string()
S
80 1 3
nullable()
S
80 1 3
fallback()
S
79 1 3
schema()
S
81 1 3
jsonSerialize()
S
81 1 3
__toString()
S
81 1 3
as_assoc_array()
S
79 1 3